/*
 * IOcard.h
 *
 *  Created on: Mar 28, 2012
 *      Author: pleun
 */

#ifndef IOCARD_H_
#define IOCARD_H_


#include "conc/Thread.h"
#include <iostream>
#include "BufferSysteem.h"

using namespace std;

class IOcard : public Thread{
private:
	int nummer;
	char buffer[3];
	int camerabuffer[3];
	BufferSysteem* buffsys;
public:
	IOcard(int nr, BufferSysteem* bs):
			Thread("IOcard"), nummer(nr), buffsys(bs) {
			setName(nr);
	};
	void run();

	void setBeeld(char beeld, int camera);

};

#endif /* IOCARD_H_ */
